<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Contact extends CI_Controller {

    /**
     *   网站后台
     *   王超伟
     * 	 2012.09.25
     * 	 art2006art#gmail.com
     */
    public function __construct() {
        parent::__construct();
        $this->load->helper('url');
        $this->load->helper('file');
        $this->load->helper('form');
        $this->load->helper('func');
        $this->load->database();
        $this->load->model('menu_process');
        $this->load->model('basic_process');
        $this->load->model('photos_process');
    }

    public function index() {   
       
        $class_name = __CLASS__;
        $data["menu_single_array"] = get_menu_array(strtolower($class_name));
        $data["menu_array"] = $this->menu_process->menu_front_list(); //菜单排序       

   $option_list=$this->basic_process->option_list();
unset($option_list[1]);unset($option_list[2]);

$data["contact_array"]=$option_list;
      //  print_r($rrr);
        $this->load->view('front/header_view', $data);
        $this->load->view('front/contact_view',$data);
        $this->load->view('front/footer_view');
    }



}

/* End of file admin.php */
/* Location: ./application/controllers/admin.php */